package com.example.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author luo
 */
@Data
public class Contract implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String cid;
    private String name;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date stime;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date etime;
}
